tools/python: corrently use LDFLAGS and CFLAGS
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 26 Apr 2016 10:25:28 +0000 (12:25 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 27 Apr 2016 13:14:27 +0000 (14:14 +0100)
commitdbed24c7c4cfcdf5db9582a7b8bc74a2a48d4054
tree98936f55ae674e6ef8c5627d6095520d3a59de4c
parent92afa655e7b60a3c4d00fe1c7193e79fa4b901ad
tools/python: corrently use LDFLAGS and CFLAGS

It is incorrect to add the LDFLAGS to the CFLAGS, and some compilers will
error out if linker flags are passed when creating object files. Fix this by
properly passing CFLAGS and LDFLAGS, instead of putting everything in
CFLAGS.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/python/Makefile